how to clone table with data